package com.my.strings.reg;

/**
 * @author: marshal
 * @date: 2021-11-17 5:20 PM
 */
public class RegexConstants {
    /**
     * IP 正则
     */
    public static final String IP_REGEX = "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}";
    /**
     * 自然数
     */
    public static final String NATURAL_NUMBER = "^(0|[1-9][0-9]*)$";
    /**
     * 有理数
     */
    public static final String RATIONAL_NUMBER = "^-?\\d+(\\.\\d+)?$";
    /**
     * 脏话
     */
    public static final String DIRTY_WORD = "[操肏艹]|[Ff]uck|shit|傻[比屄逼叉缺吊屌]|煞笔";


}
